<?php

/**
 * 默认配置
 */
$base_url = "http://" . $_SERVER['HTTP_HOST'];
$base_url .= preg_replace('@/+$@', '', dirname($_SERVER['SCRIPT_NAME']));

return array(
  'LICENSE_METHOD' => 'TIME', //SERVER , TIME 
  //路径
  'BASE_URL' => $base_url,
  //路由状态
  'URL_ROUTER_ON' => TRUE, //开启URL路由
  'URL_MODEL' => 2, //REWRITE  模式
  'URL_CASE_INSENSITIVE' => true, //不区分大小写
  'URL_PARAMS_BIND_TYPE' => 1, //按变量顺序绑定
  'URL_HTML_SUFFIX' => '', //伪静态后缀.
  //翻页尺寸
  'PAGE_SIZE' => 10,
  //数据库字段区分大小写
  'DB_PARAMS' => array(\PDO::ATTR_CASE => \PDO::CASE_NATURAL),
  //版权及项目名称
  'COPYRIGHT' => '©2015 - 2016 武汉瑞云互动网络技术有限公司',
);
